package utils;

import java.util.ArrayList;
import java.util.List;

public class ColorExist {
	private static final List<String> colorsAlready = new ArrayList<String>();

	public static boolean addInList(String color) {
		boolean contain = colorsAlready.contains(color);
		if (!contain) {
			colorsAlready.add(color);
		}
		return contain;

	}
}
